//
//  UILabel+Extension.swift
//  WeiBo001
//
//  Created by Zhanghong on 15/7/1.
//  Copyright © 2015年 HeiMa. All rights reserved.
//

import UIKit

extension UILabel {
    convenience init(color: UIColor, fontsize: CGFloat, mutiLines: Bool = false) {
        self.init()
        font = UIFont.systemFontOfSize(fontsize)
        textColor = color
        
        if mutiLines {
            numberOfLines = 0
        }
    }
}
